POV-Ray : Newsgroups : povray.beta-test : Gradient: Suggested addition for the Docs / VFAQ : Gradient: Suggested addition for the Docs / VFAQ Server Time
5 Nov 2024 05:23:12 EST (-0500)
  Gradient: Suggested addition for the Docs / VFAQ  
From: Rune
Date: 6 Sep 2001 07:37:54
Message: <3b976012@news.povray.org>
I think it would be nice if it was mentioned in the VFAQ and perhaps also in
the docs in the gradient pattern section how to get the old style gradient.

In section "6.7.11.17  Gradient" the docs state this:

"[1] If only the range -1 to 1 was used of the old gradient, for example in
a sky_sphere, it can be replaced by the planar or marble pattern and revert
the color_map. Also rotate the pattern for other orientations than y."

These solutions are specific and do not always work for the task at hand. I
suggest to either replace it or expand it with the text below:

"You can get the old style gradient by replacing the pattern

gradient x

with the pattern

function{abs(x)}

and similar for gradient y and gradient z."

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.